import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import FastClick from 'fastclick'
import lazyload from 'vue-lazyload'
import toast from 'components/common/toast/index'
Vue.use(toast)

Vue.use(lazyload,{
  loading:require('./assets/img/load.gif')
})


Vue.config.productionTip = false
Vue.prototype.$bus=new Vue();

//解决移动端300ms延迟
FastClick.attach(document.body)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
